package com.logistics.utils.response;

import lombok.Data;

public enum ResponseStatus {

    SUCCESS("success", "成功"),

    ERROR("error", "失败"),

    AUTHORITY("authority", "没有权限，系统拒绝访问"),

    RENEWAL("renewal", "续签token");

    private String code;
    private String message;

    private ResponseStatus(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
